package com.yonyougov.devops.cruxcisupport.enums;

import lombok.Getter;

/**
 * 提测类型
 */
@Getter
public enum UserOfficeTypeEnum implements BaseEnum {
    DEVLOPER("开发", 1),
    TESTER("测试", 2),
    MANAGE("管理", 3),
    TESTEXAMPLE("测试用例", 4),
    TESTLEADER("测试主管", 5),
    ;


    private String value;
    private int code;

    UserOfficeTypeEnum(String value, int code) {
        this.value = value;
        this.code = code;
    }

    @Override
    public boolean equals(Integer code) {
        return code.equals(this.code);
    }
}
